package com.cssl.service;

import com.cssl.dto.ProductOrderDTO;
import com.cssl.entity.ProductOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cssl.exception.BusinessException;
import io.swagger.v3.oas.models.security.SecurityScheme;

import java.util.Map;

/**
* @author 风止
* @description 针对表【product_order】的数据库操作Service
* @createDate 2025-03-13 15:03:10
*/
public interface ProductOrderService extends IService<ProductOrder> {

    /**
     * 创建订单
     * @param poDto
     * @return
     */
    Map<Integer,Integer> createOrder(ProductOrderDTO poDto) throws BusinessException;
}
